package com.student.service;

import com.student.VO.SnackVO;
import com.student.dto.ResponseDto;
import com.student.pojo.SnackOrder;

public interface SnackOrderService {
    //     获取所有的订单信息
    ResponseDto getAllOrder(SnackOrder snackOrder);

    // 修改配送状态信息
    ResponseDto updateStatics(Integer status, Integer id, Integer adminId);

    //删除订单信息
    ResponseDto deleteOrder(Integer id);

    //   添加订单
    ResponseDto addOrderPerson(Integer id, double tatol, String address, String phone, String name, double price, Integer proID, Integer num);

    //  购物车订单添加
    ResponseDto addOrderPersonTotal(Integer id, double tatol, String address, String phone, String name, double price, Integer proID, Integer num, Integer number, Integer cardIds, Integer orderID);

    // 删除购物车信息
    ResponseDto deleteCard(Integer id);

    //    用户获取自己所有的订单信息
    ResponseDto getAllOrderPerson(SnackOrder snackOrder);

    // 添加评论
    ResponseDto addTaking(Integer id, String taking);

    //添加单个订单
    ResponseDto addTatolMoney(Integer id, double tatol, String address, String phone, String name);



    ResponseDto updateStaticsUser(Integer id, Integer status);

    ResponseDto getAllOrderMannger(SnackOrder snackOrder);
}
